a=set()
print(a)
print(type(a))
b={1,2,3,4,5,"lily","gdh","atdf","syga"}
print(type(b))
b.add("gsduiga")
print(b)
b.remove(5)
print(b)
c=b.pop()
print(c)
# b.clear()
# print(b)
# 给定一个列表，去除列表的重复
list1 = [34,56,78,34,23,12,45,56,34]
list2=list(set(list1))
print(list2)

m=[]
for i in list1:
    if i not in m:
        m.append(i)
print(m)
